const express = require('express')

const app = express()

app.use(express.urlencoded({extended:false}))

const router=require('./09_router')

// 将路由组件注册为全局中间件
app.use('/api',router)



app.listen(80, () => {
    console.log("server is running")
})